<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:core="http://www.contact.core.com/contacts/core/ui"
        >

<ui:component>
    <style type="text/css">
        .a1 A:link {
            text-decoration: none;
            color: #20205e;
        }

        .a1 A:visited {
            text-decoration: none;
            color: #20205e;
        }

        .a1 A:active {
            text-decoration: none; /*color: yellow;*/
        }

        .a1 A:hover {
            text-decoration: none;
            background: #20205e; /*font-style: italic;*/
            color: white;
        }

    </style>

    <core:pictureForView style="width:100%"
                         pictureKey="photoprofile_#{accountSessionBean.account.information.id}"
                         informationId="#{accountSessionBean.account.information.id}"
            />

    <a4j:outputPanel styleClass="a1" layout="block">
        <h:panelGrid style="width:100%" columns="1">
            <a4j:commandLink value="View photos of me (112)"
                             action="#{accountBean.friendProfileByInformationIdFromA4j}">
                <f:setPropertyActionListener value="viewPhotos"
                                             target="#{accountBean.profileSpecificView}"/>
                <f:setPropertyActionListener value="#{accountSessionBean.account.information.id}"
                                             target="#{accountBean.informationIdForView}"/>
            </a4j:commandLink>
            <rich:separator height="1px" width="100%"/>
            <!--<a4j:commandLink value="Edit my contact card"-->
            <!--action="#{myContactBean.prepareToAddContactCard}"-->
            <!--reRender="contactModalPanel"-->
            <!--oncomplete="Richfaces.showModalPanel('contactModalPanel');"-->
            <!--limitToList="true"-->
            <!--/>-->


        </h:panelGrid>
    </a4j:outputPanel>


</ui:component>


</html>
